<%--
  Created by IntelliJ IDEA.
  User: Squking
  Date: 2018/4/30
  Time: 22:49
  To change this template use File | Settings | File Templates.
--%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>用户注册</title>
</head>
<body>
    <form:form method="POST" action="/action/addAccount">
        <table>
            <tr>
                <td><form:label path="name">用户名称: </form:label></td>
                <td><form:input path="name" /></td>
            </tr>
            <tr>
                <td><form:label path="password">设置密码: </form:label></td>
                <td><form:input path="password" /></td>
            </tr>
            <tr>
                <td><form:label path="email">电子邮箱: </form:label></td>
                <td><form:input path="email" /></td>
            </tr>
            <tr>
                <td><form:label path="realName">真实姓名: </form:label></td>
                <td><form:input path="realName" /></td>
            </tr>
            <tr>
                <td><form:label path="phone">联系电话: </form:label></td>
                <td><form:input path="phone" /></td>
            </tr>
            <tr>
                <td><form:label path="address">通信地址: </form:label></td>
                <td><form:input path="address" /></td>
            </tr>
            <tr>
                <td colspan="2">
                    <input type="submit" value="提交"/>
                </td>
            </tr>
        </table>
    </form:form>
</body>
</html>
